package TUILayer;

import java.util.Scanner;

/**
 * Abstract class for UI classes
 * 
 * @author Mads Nielsen
 * @version 14-4-2011
 */
public abstract class BaseUI {

    private Scanner reader ;
    
    public BaseUI() {
        reader = new Scanner(System.in);
    }
    
    protected int inputInt() {
        int input = reader.nextInt();
        return input;
    }

    protected String inputString() {
        reader.nextLine();
        String input = reader.nextLine();
        return input;
    }
    
}
